﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Telerik.WinControls;

namespace libMasterSetup.Images.SalesTermsAndTrade
{
    public partial class frmFindOptionalServices : Telerik.WinControls.UI.RadForm
    {
        private int intX,intY;
        private string strTitle;

        public frmFindOptionalServices()
        {
            InitializeComponent();
        }


        public void setPoint(int X, int Y)
        {
            intX = X;
            intY = Y;
        }

        private void frmOptionalServices_Load(object sender, EventArgs e)
        {
            this.TopMost = true;
          //  this.Location = new Point(this.intX, this.intY);
            this.Text = this.Text + " : " + this.strTitle;
        }

        private void btnOk_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.OK;
        }

        public void set_Title(string strTitle)
        {
            this.strTitle = strTitle;
        }


        private void btnCancel_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.Cancel;
        }
    }
}
